from typing import Any, Optional

from pydantic import BaseModel, Field


class Response(BaseModel):
    code: int
    message: Optional[str] = Field(default="")
    data: Optional[Any] = Field(default=None)

